package com.matt.repository.teaching;

import com.matt.domain.teaching.TeachingTypeEarly;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * *******************************
 * Created by Ron.
 * form com.matt
 * on 2017/9/1
 * *******************************
 */
public interface TeachingTypeEarlyRepository extends JpaRepository<TeachingTypeEarly, Long>{
    List<TeachingTypeEarly> findByDeleted(Boolean deleted);

    TeachingTypeEarly findByName(String name);
}
